From f7349fa4a8c36fe1f9a8f321c06f5a6748e973d3 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Wed, 30 Aug 2006 19:48:45 +0000 Subject: [PATCH] Minor gbfile changes. --- gbfile.c | 2 +- gbfile.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gbfile.c b/gbfile.c index 57fb40fda..8a457f917 100644 --- a/gbfile.c +++ b/gbfile.c @@ -40,7 +40,7 @@ #endif #define MYNAME "gbfile" -#define NO_ZLIB "No zlib support" +#define NO_ZLIB MYNAME ": No zlib support\n." /* About the ZLIB_INHIBITED stuff: * diff --git a/gbfile.h b/gbfile.h index 644430805..596e9c2c5 100644 --- a/gbfile.h +++ b/gbfile.h @@ -25,7 +25,6 @@ #include "config.h" #include "defs.h" -#include "zlib/zlib.h" #include typedef struct gbfile_s { @@ -34,7 +33,9 @@ typedef struct gbfile_s { #endif union { FILE *std; +#if !ZLIB_INHIBITED gzFile *gz; +#endif } handle; char *name; char *module; -- 2.30.2